package com.lwbldy.modules.student.service.impl;

import com.lwbldy.modules.student.domain.HighSchool;
import com.lwbldy.modules.student.mapper.HighSchoolDao;
import com.lwbldy.modules.student.service.HighSchoolService;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
import java.util.Map;

/**
 * 毕业学校 service 实现
 * @author lwb
 * @email lwbldy@163.com
 * @date 2022-06-20 08:58:01
 */
@Service("highSchoolService")
public class HighSchoolServiceImpl implements HighSchoolService {

    @Autowired
    HighSchoolDao highSchoolDao;

    @Override
    public int save(HighSchool t) {
        return highSchoolDao.save(t);
    }

    @Override
    public int saveBatch(List<HighSchool> list) {
        return highSchoolDao.saveBatch(list);
    }

    @Override
    public int update(HighSchool t) {
        return highSchoolDao.update(t);
    }

    @Override
    public int delete(Object id) {
        return highSchoolDao.delete(id);
    }

    @Override
    public int deleteBatch(Object[] ids) {
        return highSchoolDao.deleteBatch(ids);
    }

    @Override
    public HighSchool queryObject(Object id) {
        return highSchoolDao.queryObject(id);
    }

    @Override
    public List<HighSchool> queryList(Map<String, Object> map) {
        return highSchoolDao.queryList(map);
    }

    @Override
    public int queryTotalByMap(Map<String, Object> map) {
        return highSchoolDao.queryTotalByMap(map);
    }

    @Override
    public int queryTotal() {
        return highSchoolDao.queryTotal();
    }

    @Override
    public List<HighSchool> queryByPrefectureId(Integer prefectureId) {
        return highSchoolDao.queryByPrefectureId(prefectureId);
    }

}
